/*
 * @Date: 2024-02-04 14:24:45
 * @Auth: 463997479@qq.com
 * @LastEditors: 463997479@qq.com
 * @LastEditTime: 2024-02-04 17:10:33
 * @FilePath: \RuoYi-Cloud-Vue3\src\api\monitor\online.js
 */
import request from "@/utils/request";

// 查询在线用户列表
export function list(query) {
  return request({
    url: "/monitor/online/list",
    method: "get",
    params: query,
  });
}

// 强退用户
export function forceLogout(tokenId) {
  return request({
    url: "/system/online/" + tokenId,
    method: "delete",
  });
}
